package com.cjm.ry.jvm.p1;

import java.util.HashMap;
import java.util.Map;

public class LoaderTest {
    public static final Map<String, String> map = new HashMap() {
        {
            System.err.println("init map Loader test");
            put("a", "abc");
        }
    };
    public static final String xx = "abc";
    static String aa;
    static {
        System.err.println("LoaderTest static method , init aa");
        aa = "ced";
    }

    public LoaderTest() {
        System.err.println("loaderTest init construct init.");
    }

    public String getXx() {
        return xx;
    }

    @Override
    protected void finalize() throws Throwable {
        System.err.println("finalze");
        super.finalize();
    }
}
